package com.seari.mapper;

import java.util.List;

import com.seari.bean.ArrangementPostBean;
import com.seari.bean.ArrangementPostMessageBean;
import com.seari.bean.ArrangementPostModelBean;

public interface ArrangementPostMapper
{
	List<ArrangementPostBean> renderPostEvent(String start);
	
	List<ArrangementPostBean> renderPostEvents();
	
	int insertPostEvent(ArrangementPostBean bean);
	
	List<Integer> checkPostEventExists(Integer resourceId,String start,String end);
	
	int deletePostEvent(int pid);
	
	int updatePostEvent(ArrangementPostBean bean);
	
	int insertPostEvents(List<ArrangementPostBean> beans);
	
	List<ArrangementPostBean> renderModelPostEventHis(String date,String modelName);
	
	List<ArrangementPostBean> renderModelPostEvent(String modelName);
	
	List<ArrangementPostBean> renderModelPostEventWithNDate();
	
	List<ArrangementPostModelBean> fetchPostModel();
	
	List<ArrangementPostMessageBean> fecthMessageBean(String modelId);
}
